include environment

build:
	make --directory=$(SRC)/$(ENGINE) && \
	make --directory=$(SRC)/$(ALGORITHMS) && \
	make --directory=$(SRC)/$(PROBLEMS) && \
	make --directory=$(SRC)/$(LAUNCHER)

rebuild:
	make --directory=$(SRC)/$(ENGINE) rebuild && \
	make --directory=$(SRC)/$(ALGORITHMS) rebuild && \
	make --directory=$(SRC)/$(PROBLEMS) rebuild && \
	make --directory=$(SRC)/$(LAUNCHER) rebuild

clean:
	make --directory=$(SRC)/$(ENGINE) clear && \
	make --directory=$(SRC)/$(ALGORITHMS) clear && \
	make --directory=$(SRC)/$(PROBLEMS) clear && \
	make --directory=$(SRC)/$(LAUNCHER) clear && \
	make --directory=$(PRESENTATION) clear && \
	make --directory=$(REPORT) clear && \
	rm -rf doc/html && \
	rm -rf dist/* 

clean.historics:
	rm -f $(BIN)/*.historic

clear: clean

distribution: clean clean.historics
	$(MOE_HOME)/distribution.sh

run.home: build
	make --directory=$(BIN) run.home

run.fing: build
	make --directory=$(BIN) run.fing

run.standalone: build
	make --directory=$(BIN) run.standalone

doxygen: doxygen.properties
	doxygen doxygen.properties

report:
	make --directory=$(REPORT)

presentation:
	make --directory=$(PRESENTATION)
